package com.baitiaojun.moments.api;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @类名 VideoMomentsApi
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2023/2/23 16:19
 * @版本 1.0
 */
@Api(value = "视频动态接口", hidden = true)
@RequestMapping("/moments")
public interface VideoMomentsApi {

    @ApiOperation(value = "视频、专栏发布动态", hidden = true)
    @PostMapping("/publish-video-moments")
    void publishVideoMoments(@RequestParam("videoId") Long videoId, @RequestParam("userId") Long userId) throws Exception;
}
